package com.yby.dome7;

public class People {
    String name;//姓名
    int age;//年龄
    String profession;//职业

    public void say(){
        System.out.println("姓名 "+name+"，年龄 "+age+"，职业"+profession);
    }

}
